#pragma once

#include "sys/IInterface.h"
#include "CoreDataID.h"

delegate Delegate<void(int32,objectid,IObject*)> PropertyChangedEventHandler;
delegate Delegate<void(int32,objectid,IObject*)> PropertyChangingEventHandler;

interface IPropertyChangeNotify : public IInterface
{
	DEFINE_IID(IID_PropertyChangeNotify)

	event_declare(PropertyChangedEventHandler,PropertyChanged)
	event_declare(PropertyChangingEventHandler,PropertyChanging)
};